import React, { MouseEvent, ReactElement } from "react";
/* css */
import "./Button.sass";
interface Props {
  handleClick?: (event: MouseEvent<HTMLElement>) => void;
  children?: ReactElement | string | undefined;
}

export default (props: Props) => {
  return (
    <div>
      <button onClick={props?.handleClick}>{props?.children}</button>
    </div>
  );
};
